package sctu.edu.java.year2016.team02.wanggaowen.day20160525.chapter7_1;

/**
 * Created by 15c on 2016/5/24.
 */import java.util.Scanner;
public class Work7_1 {
    public static void main(String[] args){
        Scanner scan=new Scanner(System.in);
        System.out.print("想输入的值为：");
         float  b= scan.nextFloat();
        Figure arr= new Figure();//构造对象
        arr.figure(b);arr.getFigure();
   }
}
